package org.ala.tcp_feign_client.handler.heart;

import org.ala.tcp_feign_common.enums.TcpFeignMessageTypeEnums;
import org.ala.tcp_feign_common.handler.IByteMessageAction;
import org.ala.tcp_feign_common.logs.LoggerFactory;
import org.ala.tcp_feign_common.msg.heart.HeartACKByteMessage;
import org.slf4j.Logger;

import io.netty.channel.ChannelHandlerContext;


/**
 * 心跳回执
 * 
 * @author 骆毅(ala)
 * @date 2024年4月20日
 */
public class HeartACKByteMessageAction implements IByteMessageAction<HeartACKByteMessage> {
	
	
	static Logger log = LoggerFactory.getLogger("tcp-feign", "client");
	

	@Override
	public TcpFeignMessageTypeEnums type() {
		return TcpFeignMessageTypeEnums.HEART_ACK;
	}

	@Override
	public void action(ChannelHandlerContext ctx, HeartACKByteMessage msg) {
//		log.info("[HeartACKByteMessageAction action] 收到心跳回执. id:" + ctx.channel().id());
	}

}
